package cn.tristenstudy.blog.handler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author xichen1.li
 * @date 2020-12-22 12:46
 */
@Controller
public class ErrorController {
    @GetMapping("/error/404")
    public String error404(){
        return "error/404";
    }

    @GetMapping("/error/500")
    public String error500(){
        return "error/500";
    }
}
